﻿ALTER TABLE [dbo].[AdvanceRequest]
    ADD CONSTRAINT [FK_AdvanceRequest_GoodsReceivedNote] FOREIGN KEY ([GoodsReceivedId]) REFERENCES [dbo].[GoodsReceivedNote] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;


GO
ALTER TABLE [dbo].[AdvanceRequest] NOCHECK CONSTRAINT [FK_AdvanceRequest_GoodsReceivedNote];

